package com.turing.post.cardmanagement.util;

import java.io.Serializable;
import java.math.BigInteger;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 制卡商
 * @author ys
 * @date 2012-12-17
 */
@SuppressWarnings("serial")
@Entity
@Table(name = "CardManufacture")
public class CardManufacture implements Serializable {

	/**
	 * 制卡商Id
	 */
	private BigInteger cardManufactureId;
	/**
	 * 制卡商名称
	 */
	private String cardManufactureName;
	/**
	 * 发卡商No
	 */
	private String issueCompanyNo;
	/**
	 * 状态
	 */
	private String status;
	/**
	 * 地址
	 */
	private String address;
	/**
	 * 联系电话
	 */
	private String linkTele;
	/**
	 * 联系人
	 */
	private String linkMan;
	/**
	 * 备注
	 */
	private String remark;

	/**
	 * 正常
	 */
	public static final String ACTIVATE = "0";
	/**
	 * 停止
	 */
	public static final String DEACTIVATE = "1";

	// 父类构造
	public CardManufacture() {
		super();
	}

	@Id
	@Column(name = "CARDMANUFACTUREID", nullable = false)
	public BigInteger getCardManufactureId() {
		return cardManufactureId;
	}

	public void setCardManufactureId(BigInteger cardManufactureId) {
		this.cardManufactureId = cardManufactureId;
	}

	@Column(name = "CARDMANUFACTURENAME", nullable = false)
	public String getCardManufactureName() {
		return cardManufactureName;
	}

	public void setCardManufactureName(String cardManufactureName) {
		this.cardManufactureName = cardManufactureName;
	}

	@Column(name = "ISSUECOMPANYNO", nullable = false)
	public String getIssueCompanyNo() {
		return issueCompanyNo;
	}

	public void setIssueCompanyNo(String issueCompanyNo) {
		this.issueCompanyNo = issueCompanyNo;
	}

	@Column(name = "STATUS", nullable = false)
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Column(name = "ADDRESS", nullable = true)
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "LINKTELE", nullable = true)
	public String getLinkTele() {
		return linkTele;
	}

	public void setLinkTele(String linkTele) {
		this.linkTele = linkTele;
	}

	@Column(name = "LINKMAN", nullable = true)
	public String getLinkMan() {
		return linkMan;
	}

	public void setLinkMan(String linkMan) {
		this.linkMan = linkMan;
	}

	@Column(name = "REMARK", nullable = true)
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
